<?php
class modes_channel extends modes {
	public $typeofmode =
		array(	'q' => self::type_user,		'a' => self::type_user,		'o' => self::type_user,
				'h' => self::type_user,		'v' => self::type_user,		'b' => self::type_wild,
				'e' => self::type_wild,		'I' => self::type_wild,		'l' => self::type_int,
				'k' => self::type_string,	'L' => self::type_channel,
				'j' => self::type_array, 	'f' => self::type_flood,	'E' => self::type_string);
	static public function has_parameter($mode, $add = true, $serversyntax = true) {
		return false!==strpos(($add ? 'lkjqaohvbeIfLE' : 'qaohvbeI'.($serversyntax ? 'kfL' : '')),$mode);
	}
}
?>